<link rel="stylesheet"
	href="<?php echo base_url('src/css/question-style.css'); ?>" type="text/css"
	media="screen" />
 
<div class="main-question">
<div class="question-header"> 
<img src='<?php echo base_url('src/images/star_bright.png');?>' />
	<h2>Câu hỏi mới nhất</h2>
</div>
	<?php if (count($questions) == 0):?>
		<div class="empty-question"><p>Không có câu hỏi nào</p></div>
	<?php else:?>
	<?php $i = 0;?>
	<?php foreach ($questions as $question):?>
		<div class="question"><img src='<?php echo base_url('src/images/question.png');?>' />
		<h1><a href="<?php echo site_url('game/details/'.mb_strtolower(url_title(removesign($question->content_question))));?>"><?php echo $question->content_question;?></a></h1></div>
		<div class="full-name"><p><?php echo 'Người hỏi: <span>'.$question->fullname.'</span>';?> </p></div>
		<div class="answer <?php echo $i%2?'even':'odd'; ?>"><p><?php echo $answers[$i]->content;?></p></div>
		<?php $i++;?>
	<?php endforeach;?>
	<?php endif;?> 
</div>